Conversation
Collaborator
Author
Command Bot: Processing... |
This breaks the compiler's dependency to the runtime library. Signed-off-by: boschmitt <7152025+boschmitt@users.noreply.github.com>
Used nanobind 2.9.2 per mlir/python/requirements.txt.
Needed some explicit `py::arg("kwarg")` though most changes are from
clang-format.
Signed-off-by: Renaud Kauffmann <rkauffmann@nvidia.com>
Fixing build errors from llvm22 migration and formatting. --------- Signed-off-by: Sachin Pisal <spisal@nvidia.com>
Signed-off-by: Eric Schweitz <eschweitz@nvidia.com>
Signed-off-by: Eric Schweitz <eschweitz@nvidia.com>
…VM 22.1) Signed-off-by: Sachin Pisal <spisal@nvidia.com>
Signed-off-by: Eric Schweitz <eschweitz@nvidia.com>
Signed-off-by: Eric Schweitz <eschweitz@nvidia.com>
Signed-off-by: Eric Schweitz <eschweitz@nvidia.com>
behavior. Setting it to false through a reference changes that behavior and has potential side-effects beyond the current node being traversed. Back out these changes pending further investigation. Signed-off-by: Eric Schweitz <eschweitz@nvidia.com>
Signed-off-by: Eric Schweitz <eschweitz@nvidia.com>
Signed-off-by: Sachin Pisal <spisal@nvidia.com>
Signed-off-by: Sachin Pisal <spisal@nvidia.com>
Collaborator
Command Bot: Processing... |
Signed-off-by: Adam Geller <adgeller@nvidia.com>
Signed-off-by: Eric Schweitz <eschweitz@nvidia.com>
Signed-off-by: Eric Schweitz <eschweitz@nvidia.com>
Signed-off-by: Eric Schweitz <eschweitz@nvidia.com>
Signed-off-by: Eric Schweitz <eschweitz@nvidia.com>
Signed-off-by: Eric Schweitz <eschweitz@nvidia.com>
Signed-off-by: Eric Schweitz <eschweitz@nvidia.com>
Signed-off-by: Eric Schweitz <eschweitz@nvidia.com>
Signed-off-by: Eric Schweitz <eschweitz@nvidia.com>
Signed-off-by: Eric Schweitz <eschweitz@nvidia.com>
Signed-off-by: Eric Schweitz <eschweitz@nvidia.com>
Signed-off-by: Eric Schweitz <eschweitz@nvidia.com>
Signed-off-by: Sachin Pisal <spisal@nvidia.com>
Collaborator
Command Bot: Processing... |
Signed-off-by: Adam Geller <adgeller@nvidia.com>
Signed-off-by: Adam Geller <adgeller@nvidia.com>
Signed-off-by: Adam Geller <adgeller@nvidia.com>
Signed-off-by: Adam Geller <adgeller@nvidia.com>
Signed-off-by: Adam Geller <adgeller@nvidia.com>
Signed-off-by: Adam Geller <adgeller@nvidia.com>
Update toolchains for LLVM22 migration Replaces existing toolchains (gcc11, gcc12, and clang16) with an updated bootstrapping llvm toolchain in devdeps.
Signed-off-by: Adam Geller <adgeller@nvidia.com>
Signed-off-by: Sachin Pisal <spisal@nvidia.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary:
Migrate CUDA-Q compiler and runtime from LLVM/MLIR 16 to LLVM/MLIR 22.1. This encompasses 154 files with ~7,300 lines of changes across the entire codebase, including op creation APIs, opaque pointer adoption, interface refactors, Python binding migration, and build system updates.
Major Changes:
builder.create<Op>(loc, ...)→Op::create(builder, loc, ...)!llvm.ptr); remove element-type info fromLLVMPointerType::get()
PatternRewriter::updateRootInPlace→modifyOpInPlace;applyPatternsAndFoldGreedily → applyPatternsGreedilyGEN_PASS_CLASSEStoGEN_PASS_DEF_*gcc11,gcc12, andclang16, with bootstrappedllvmtoolchain for CI testing. Follow up will work on re-enabling cross-compilergcc12toolchain (still used for wheel builds).